<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ include file="/common/common.jspf" %>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>test</title>

</head>
<script type="text/javascript">
    var oldWin=parent.$("iframe[title='员工管理']").get(0).contentWindow;
    //关闭对话窗口
    function getCloseModuleWin(){
        parent.$('#win').window('close');
        oldWin.$('#dg').datagrid("reload");
    }
</script>
<body>
<form id="ff" action="${proPath}/employee/empadd.action" method="post">
    <div>
        <label >登录账号(工号):</label>
        <input class="easyui-validatebox" type="text" name="usercode" />
    </div>
    <div>
        <label >姓名:</label>
        <input class="easyui-validatebox" type="text" name="employeeName" />
    </div>
    <div>
        <label  >部门类型:</label>
        <select class="easyui-combobox" name="employeeDept" />
        <c:forEach items="${applicationScope.sysParamMap.employee_dept}" var="sp">
            <option value="${sp.key}">${sp.value}</option>
        </c:forEach>
        </select>
    </div>
    <div>
        <label  >总公司:</label>
        <select class="easyui-combobox" name="employeeCompany" />
        <c:forEach items="${applicationScope.sysParamMap.employee_company}" var="sp">
            <option value="${sp.key}">${sp.value}</option>
        </c:forEach>
        </select>
    </div>
    <div>
        <label  >店铺名称:</label>
        <select class="easyui-combobox" name="employeeShop" />
        <c:forEach items="${applicationScope.sysParamMap.employee_shop}" var="sp">
            <option value="${sp.key}">${sp.value}</option>
        </c:forEach>
        </select>
    </div>
    <div>
        <label  >职务:</label>
        <select class="easyui-combobox" name="employeeJob" />
        <c:forEach items="${applicationScope.sysParamMap.employee_job}" var="sp">
            <option value="${sp.key}">${sp.value}</option>
        </c:forEach>
        </select>
    </div>
    <div>
        <label  >锁定:</label>
        <select class="easyui-combobox" name="employeeLock" />
        <c:forEach items="${applicationScope.sysParamMap.employee_lock}" var="sp">
            <option value="${sp.key}">${sp.value}</option>
        </c:forEach>
        </select>
    </div>
    <div>
        <label  >角色:</label>
        <select class="easyui-combobox" name="employeeStatus" />
        <c:forEach items="${applicationScope.sysParamMap.employee_status}" var="sp">
            <option value="${sp.key}">${sp.value}</option>
        </c:forEach>
        </select>
    </div>
    <div>
        <label  >身份证号:</label>
        <input class="easyui-validatebox" type="text" name="employeeIdnum" />
    </div>
    <div>
        <label  >手机:</label>
        <input class="easyui-validatebox" type="text" name="employeePhone" />
    </div>
    <div>
        <label  >工作状态:</label>
        <select class="easyui-combobox" name="employeeFire" />
        <c:forEach items="${applicationScope.sysParamMap.employee_fire}" var="sp">
            <option value="${sp.key}">${sp.value}</option>
        </c:forEach>
        </select>
    </div>
    <div>
        <label  >密码:</label>
        <input class="easyui-validatebox" type="text" name="password" />
    </div>
    <input type="submit" value="确定" onclick="getCloseModuleWin()">
</form>
</body>
</html>